package cn.tedu.ba05;


import cn.tedu.ba02.Student;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;

//目标类
@Service("SomeServiceImpl")
public class SomeServiceImpl implements SomeService {
    @Override
    public void doSome(String name, Integer age) {
        //在doSome()之前增加一个输出当前时间的功能
        System.out.println("===目标方法doSome()===");
    }

}
